<script language="javascript">
function selcheck() {
  var objs = form1.getElementsByTagName("input");
  for(var i=0; i<objs.length; i++) {
    if(objs[i].type.toLowerCase() == "checkbox" )
      objs[i].checked = true;
  }
}
</script>
<div class="height12"></div>
<div id="main">
<div id="user_ding">
<div class="position">您现在的位置：首页	用户中心</div>
<div class="height12"></div>
<!--左列开始-->
<?{include file="useradmin/_left.html"}?>
<!--左列结束-->
<div id="user_r">
	<div class="user_r_t"><div id="userltotal">订单信息管理</div></div>
	<div class="user_r_b">		
			<form name=form1 action="my_deal.php" method='post'>
			<div id="myjifen">我的订单</div>
			<input type="hidden" name="user_name" value="<?{$smarty.session.user_name}?>">
			<table width="714" border="0">
			  <tr class="jifentr1" style="border:1px solid #808080;">
				<td width="138">订单号</td> 
				<td width="165">下单时间</td>   
				<td width="130">订单总金额</td>  
				<td width="180">订单状态</td>   
				<td width="75">操作</td>    
			  </tr>
			  <?{foreach from=$arrData item=arrData}?>
			  <tr class="jifentr2">
				  <td align="center"><a href='<?{$arrGWeb.WEB_ROOT_pre}?>/deal/adminu/detail.php?id=<?{$arrData.id}?>'><?{$arrData.deal_no}?></a></td>
				  <td align="center"><?{$arrData.submit_date}?></td>
				  <td align="center"><?{$arrData.deal_price}?></td>
				  <td align="center">
				  <?{if $arrData.type_id==1}?>新在线订单,待确认<?{/if}?>
				  <?{if $arrData.type_id==2}?>已确认<?{/if}?>
				  <?{if $arrData.type_id==3}?>正在配货<?{/if}?>
				  <?{if $arrData.type_id==4}?>货已发出<?{/if}?>
				  <?{if $arrData.type_id==5}?>在线订单完成<?{/if}?>
				  </td>
				  <td align="center"><input type="checkbox" name="id[]" value="<?{$arrData.id}?>"/></td>			
			  </tr>	
			  <?{/foreach}?>
			  <tr>
				<td colspan="5" align="right">
					<input type=submit name="del" value="取消订单" title='在订单确认之前可以取消！' class=button_two>
				</td>
			  </tr>
			</table>
  			</form>	
		<div class="clr"></div>
	</div>
	<div class="height12"></div>
	<div id="page"><?{$strPage}?></div>
</div>
</div>
</div>	
<div class="height12"></div>